<%- data.export ? 'export ' : '' %>const <%- data.componentName %>: React.FC = (<%- data.props ? 'props': '' %>) => {
  <%- data.props ? `const { ${Object.keys(data.props).join(', ')} } = props;` : ''%>
  <% if (data.state) { %>
    <%- `const [ state, setState ] = useInternalReducer();\n const { ${Object.keys(data.state).join(', ')} } = state;` %>   
  <% } %>  

  <% Array.isArray(data.methods) && data.methods.forEach(method => { %> 
    <%- `${method}`  %> 
  <% }) %> 
  
  <% Array.isArray(data.lifeCycles) && data.lifeCycles.forEach(method => { %> 
    <%- `${method}`  %> 
  <% }) %> 
  
  return <div>
    <%- include('./children.ejs', {children: data.children}) %> 
  </div>
}